home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / 3DMF2PICT / 3DMF2PICTShell.h < prev    next >
Encoding:
Text File  |  1995-06-08  |  1.2 KB  |  61 lines  |  [TEXT/MPCC]

  1. // Quickdraw 3D sample code
  2. //
  3. // Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com)
  4. //
  5. // ©1994-5 Apple Computer Inc., All Rights Reserved
  6.  
  7.  
  8. #ifndef _SMALLSHELL_H_
  9. #define _SMALLSHELL_H_
  10.  
  11.     
  12. //-------------------------------------------------------------------------------------------
  13. //
  14. enum {
  15.     mApple = 128,
  16.     mFile,
  17.     mEdit,
  18.     mTest
  19. } ;
  20.  
  21. enum {
  22.     iAbout = 1
  23. } ;
  24.  
  25. enum {
  26.     iNew = 1,
  27.     iOpen,
  28.     iClose,
  29.     iUnused1,
  30.     iQuit
  31. } ;
  32.  
  33. //-------------------------------------------------------------------------------------------
  34. //
  35. enum {
  36.     iUsePictPalette = 1
  37. } ;
  38.  
  39. //-------------------------------------------------------------------------------------------
  40. // globals - defined in SmallShell.c
  41. extern Boolean gQuitFlag ;
  42.  
  43.  
  44. //-------------------------------------------------------------------------------------------
  45. // constants - defined in SmallShell.c
  46. extern const RGBColor    kRGBBlack ;
  47. extern const RGBColor    kRGBWhite ;
  48.  
  49. // function prototypes
  50.  
  51.  
  52. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  53.                                     const Ptr theStorage, 
  54.                                     const CTabHandle theWindowCTab,
  55.                                     const short theDepth, 
  56.                                     const Str255 theTitle ) ;
  57. short         HiWrd(long aLong) ;
  58. short         LoWrd(long aLong) ;
  59.  
  60.  
  61. #endif